<div class="main-l fll">
	<div class="breakcrum ov-h clb">
    	<div class="title"><span><a href="<?php echo base_url();?>home" class="home"><?php echo $this->lang->line('system_home'); ?></a><a href="<?php echo base_url();?>gallery/listalbum"><?php echo $this->lang->line('system_gallery'); ?></a></span></div>
    </div>
    <div class="gallery-d ov-h clb">
    	<div id="barousel_thslide" class="barousel">
            <div class="barousel_image">
            	<?php for ($i=0;$i<count($photos);$i++){ ?>
            		<img src="<?php echo base_url (); ?>application/storage/images/<?php echo $photos[$i]->file_name; ?>" alt="" <?php if($i==0) { ?> class="default" <?php }else{ ?> class="" <?php }?> />
            	<?php } ?>

            </div>
            <div class="barousel_content">
            	<?php for ($i=0;$i<count($photos);$i++){ ?>
            		<div <?php if($i==0) { ?> style="display: block;" class="default" <?php }else{ ?>style="display: none;" <?php }?> >&nbsp;</div>
            	<?php } ?>

            </div>
            <div id="thslide_barousel_nav" class="thslide">
                <div class="thslide_nav_previous">
                    <a href="#">&nbsp;</a>
                </div>
                <div class="thslide_list">
                    <ul>
                    	<?php for ($i=0;$i<count($photos);$i++){ ?>
	            		<li><a href="#"><img src="<?php echo base_url (); ?>application/storage/images/<?php echo $photos[$i]->file_name; ?>" alt="" /><span></span></a></li>
            			<?php } ?>

                   </ul>
                </div>
                <div class="thslide_nav_next">
                    <a href="#">&nbsp;</a>
                </div>
            </div>
    	</div>
    </div>
    <div class="clb"></div>
</div>